Templately\Core\Importer\FullSiteImport D

Total Complexity 334
Dependencies 16
Dependents 4
Total lines 1,758
Lines of code 1,180
Logical lines of code 760
Comment lines 256
Methods 53
Properties 14

Methods 53

Method Rating Maintainability Complexity Lines of code
import_revert()
C
34 28 81
cleanup_ai_process_directories()
B
44 22 41
cleanup_session_directories()
B
45 21 39
import_info()
B
41 16 52
normalize_imported_data()
B
42 16 47
import()
A
35 13 88
unzip()
A
43 12 48
create_session_and_download()
A
41 11 55
ai_get_json()
A
44 11 43
process_ai_preview_content()
A
46 11 38
feedback_form()
A
48 10 29
clear_data_file()
A
49 10 27
handle_import_status()
A
43 8 47
import_settings()
A
46 8 37
download_zip()
A
46 8 36
import_status()
S
57 8 15
register_shutdown()
S
48 7 30
import_ai_settings()
S
51 7 23
google_font()
S
52 7 23
add_ajax_action()
S
54 7 20
finishRequestHeaders()
S
48 6 35
extract_content_metadata()
S
57 7 15
__construct()
S
51 6 26
initialize_props()
S
57 6 18
start_content_import()
S
45 4 41
copyDirectory()
S
59 5 14
ai_poll_template()
S
53 4 23
unzip_file()
S
56 4 18
import_close_feedback_modal()
S
55 4 17
removeDirectory()
S
60 4 13
getConnectionStatusText()
S
62 4 13
check_writing_permission()
S
61 3 11
wp_image_editors()
S
70 3 6
redirect_for_archives()
S
67 3 7
has_revert()
S
66 3 8
add_revert_hooks()
S
58 1 17
admin_init()
S
71 2 6
throw()
S
71 2 6
throw_non_retryable()
S
71 2 6
throw_retryable()
S
71 2 6
throw_unknown()
S
71 2 6
read_manifest()
S
64 2 9
skipped_plugin()
S
78 2 3
get_post_type_label_by_slug()
S
69 2 7
update_imported_list()
S
67 2 7
get_session_data()
S
81 1 3
update_session_data()
S
80 1 3
clear_session_data()
S
80 1 3
before_install_hook()
S
79 1 3
after_install_hook()
S
91 1 2
get_request_params()
S
82 1 3
revert()
S
91 1 2
allow_svg_upload()
S
76 1 4